from com.sai.Extractor import extractEmbedLinks, iterateMovies, \
    extractEmbedMarkup
from com.sai.Settings import dataDir
import sqlite3
import sys

#printAllMovies()
movPrefix = 'http://www.bharatmovies.com/telugu/watch/'
##
iterateMovies(movPrefix)

#sys.stdout.write('iterate complete')
#
#pageUrl = 'http://www.bharatmovies.com/telugu/watch/Donga-Ramudu-&-Party-movie-online.htm'#'http://www.bharatmovies.com/telugu/watch/Super-2011-movie-online.htm'
#
#resultMap = extractEmbedLinks(pageUrl)
